/* Copyright (c) 2025 Beijing Semidrive Technology Corporation
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/********************************************************************************************************
 *  \file     Adc_reg.h                                                                                 *
 *  \brief    This file contains Adc register offset                                                    *
 *                                                                                                      *
 * <table>                                                                                              *
 * <tr><th>Date           <th>Version                                                                   *
 * <tr><td>2023/08/29     <td>1.0.0                                                                     *
 * </table>                                                                                             *
 *******************************************************************************************************/

#ifndef ADC_REG_H
#define ADC_REG_H

#ifdef __cplusplus
extern "C" {
#endif

#define SADC_SOFT_RST_BASE                                                      (0x0u)
#define SADC_SOFT_RST_ANA_CLK_FORCE_CG_FIELD_OFFSET                             (13u)
#define SADC_SOFT_RST_ANA_CLK_FORCE_CG_FIELD_SIZE                               (1u)
#define SADC_SOFT_RST_FORCE_TURN_OFF_OFFSET                                     (12u)
#define SADC_SOFT_RST_FORCE_TURN_OFF_SIZE                                       (1u)
#define SADC_FIFO_FLUSH(id)                                                     (8u + (id))
#define SADC_FIFO_FLUSH_SIZE                                                    (1u)
#define SADC_FIFO3_FLUSH_FIELD_OFFSET                                           (11u)
#define SADC_FIFO3_FLUSH_FIELD_SIZE                                             (1u)
#define SADC_FIFO2_FLUSH_FIELD_OFFSET                                           (10u)
#define SADC_FIFO2_FLUSH_FIELD_SIZE                                             (1u)
#define SADC_FIFO1_FLUSH_FIELD_OFFSET                                           (9u)
#define SADC_FIFO1_FLUSH_FIELD_SIZE                                             (1u)
#define SADC_FIFO0_FLUSH_FIELD_OFFSET                                           (8u)
#define SADC_FIFO0_FLUSH_FIELD_SIZE                                             (1u)
#define SADC_SOFT_RST_EACH_RC_TMR_RST_FIELD_SIZE                                (1u)
#define SADC_SOFT_RST_RC3_TMR_RST_FIELD_OFFSET                                  (5u)
#define SADC_SOFT_RST_RC3_TMR_RST_FIELD_SIZE                                    (1u)
#define SADC_SOFT_RST_RC2_TMR_RST_FIELD_OFFSET                                  (4u)
#define SADC_SOFT_RST_RC2_TMR_RST_FIELD_SIZE                                    (1u)
#define SADC_SOFT_RST_RC1_TMR_RST_FIELD_OFFSET                                  (3u)
#define SADC_SOFT_RST_RC1_TMR_RST_FIELD_SIZE                                    (1u)
#define SADC_SOFT_RST_RC0_TMR_RST_FIELD_OFFSET                                  (2u)
#define SADC_SOFT_RST_RC0_TMR_RST_FIELD_SIZE                                    (1u)
#define SADC_SOFT_RST_ANA_RST_FIELD_OFFSET                                      (1u)
#define SADC_SOFT_RST_ANA_RST_FIELD_SIZE                                        (1u)
#define SADC_SOFT_RST_DIG_RST_FIELD_OFFSET                                      (0u)
#define SADC_SOFT_RST_DIG_RST_FIELD_SIZE                                        (1u)

#define SADC_INIT_BASE                                                          (0x4u)
#define SADC_INIT_DONE_FIELD_OFFSET                                             (24u)
#define SADC_INIT_DONE_FIELD_SIZE                                               (1u)
#define SADC_INIT_START_FIELD_OFFSET                                            (20u)
#define SADC_INIT_START_FIELD_SIZE                                              (1u)
#define SADC_INIT_VALUE_FIELD_OFFSET                                            (0u)
#define SADC_INIT_VALUE_FIELD_SIZE                                              (20u)

#define SADC_DCOC_BASE                                                          (0x8u)
#define SADC_DCOC_DONE_FIELD_OFFSET                                             (31u)
#define SADC_DCOC_DONE_FIELD_SIZE                                               (1u)
#define SADC_DCOC_VALUE_FIELD_OFFSET                                            (16u)
#define SADC_DCOC_VALUE_SIGN_FIELD_OFFSET                                       (28u)
#define SADC_DCOC_VALUE_FIELD_SIZE                                              (13u)
#define SADC_DCOC_SOFT_OVWR_EN_FIELD_OFFSET                                     (8u)
#define SADC_DCOC_SOFT_OVWR_EN_FIELD_SIZE                                       (1u)
#define SADC_DCOC_EN_FIELD_OFFSET                                               (4u)
#define SADC_DCOC_EN_FIELD_SIZE                                                 (1u)
#define SADC_DCOC_START_FIELD_OFFSET                                            (3u)
#define SADC_DCOC_START_FIELD_SIZE                                              (1u)
#define SADC_DCOC_TIMES_FIELD_OFFSET                                            (0u)
#define SADC_DCOC_TIMES_FIELD_SIZE                                              (3u)

#define SADC_HTC_BASE                                                           (0xCu)
#define SADC_HTC_READY_FIELD_OFFSET                                             (31u)
#define SADC_HTC_READY_FIELD_SIZE                                               (1u)
#define SADC_HTC_READY_LEN_FIELD_OFFSET                                         (8u)
#define SADC_HTC_READY_LEN_FIELD_SIZE                                           (8u)
#define SADC_HTC_DONE_LEN_FIELD_OFFSET                                          (0u)
#define SADC_HTC_DONE_LEN_FIELD_SIZE                                            (4u)

#define SADC_RCHT_ENTRY_BASE(num)                               (((num) * 4u) + 0x10u)
#define SADC_RCHT_ENTRY_REPEAT_TIMES_FIELD_OFFSET                               (24u)
#define SADC_RCHT_ENTRY_REPEAT_TIMES_FIELD_SIZE                                 (3u)
#define SADC_RCHT_ENTRY_REPEAT_MODE_FIELD_OFFSET                                (16u)
#define SADC_RCHT_ENTRY_REPEAT_MODE_FIELD_SIZE                                  (1u)
#define SADC_RCHT_ENTRY_CSEL_FIELD_OFFSET                                       (12u)
#define SADC_RCHT_ENTRY_CSEL_FIELD_SIZE                                         (4u)
#define SADC_RCHT_ENTRY_CHNL_MUXID_FIELD_OFFSET                                 (6u)
#define SADC_RCHT_ENTRY_CHNL_MUXID_FIELD_SIZE                                   (3u)
#define SADC_RCHT_ENTRY_CHNL_END_FIELD_OFFSET                                   (3u)
#define SADC_RCHT_ENTRY_CHNL_END_FIELD_SIZE                                     (1u)
#define SADC_RCHT_ENTRY_CONTROL_CHNL_FIELD_OFFSET                               (0u)
#define SADC_RCHT_ENTRY_CONTROL_CHNL_FIELD_SIZE                                 (3u)
#define SADC_RCHT_ENTRY_AMSEL_FIELD_OFFSET                                      (0u)
#define SADC_RCHT_ENTRY_AMSEL_FIELD_SIZE                                        (9u)

#define SADC_RC_TIMER_BASE(num)                                 (((num) * 4u) + 0x90u)
#define SADC_RC_TIMER_TMN_VALUE_FIELD_OFFSET                                    (16u)
#define SADC_RC_TIMER_TMN_VALUE_FIELD_SIZE                                      (16u)
#define SADC_RC_TIMER_CMP_VALUE_FIELD_OFFSET                                    (0u)
#define SADC_RC_TIMER_CMP_VALUE_FIELD_SIZE                                      (16u)

#define SADC_RC_BASE(num)                                       (((num) * 4u) + 0xA0u)
#define SADC_RC_SOFT_TRG_DONE_STATUS_FIELD_OFFSET                               (28u)
#define SADC_RC_SOFT_TRG_DONE_STATUS_FIELD_SIZE                                 (1u)
#define SADC_RC_SOFT_TRG_TIMES_FIELD_OFFSET                                     (20u)
#define SADC_RC_SOFT_TRG_TIMES_FIELD_SIZE                                       (6u)
#define SADC_RC_TRG_EN_FIELD_OFFSET                                             (17u)
#define SADC_RC_TRG_EN_FIELD_SIZE                                               (1u)
#define SADC_RC_SOFT_OVWR_POINT_EN_FIELD_OFFSET                                 (16u)
#define SADC_RC_SOFT_OVWR_POINT_EN_FIELD_SIZE                                   (1u)
#define SADC_RC_SOFT_TRG_FIELD_OFFSET                                           (15u)
#define SADC_RC_SOFT_TRG_FIELD_SIZE                                             (1u)
#define SADC_RC_TRG_MODE_FIELD_OFFSET                                           (14u)
#define SADC_RC_TRG_MODE_FIELD_SIZE                                             (1u)
#define SADC_RC_TMR_MODE_FIELD_OFFSET                                           (13u)
#define SADC_RC_TMR_MODE_FIELD_SIZE                                             (1u)
#define SADC_RC_TRG_START_FIELD_OFFSET                                          (12u)
#define SADC_RC_TRG_START_FIELD_SIZE                                            (1u)
#define SADC_RC_QEND_FIELD_OFFSET                                               (8u)
#define SADC_RC_QEND_FIELD_SIZE                                                 (4u)
#define SADC_RC_QSTART_FIELD_OFFSET                                             (4u)
#define SADC_RC_QSTART_FIELD_SIZE                                               (4u)
#define SADC_RC_CUR_POINT_FIELD_OFFSET                                          (0u)
#define SADC_RC_CUR_POINT_FIELD_SIZE                                            (4u)

#define SADC_INT_STA_BASE                                                       (0xB0u)
#define SADC_INT_STA_SUB_FIFO3_OVFL                                             (31u)
#define SADC_INT_STA_SUB_FIFO3_OVFL_FIELD_SIZE                                  (1u)
#define SADC_INT_STA_SUB_FIFO2_OVFL                                             (30u)
#define SADC_INT_STA_SUB_FIFO2_OVFL_FIELD_SIZE                                  (1u)
#define SADC_INT_STA_SUB_FIFO1_OVFL                                             (29u)
#define SADC_INT_STA_SUB_FIFO1_OVFL_FIELD_SIZE                                  (1u)
#define SADC_INT_STA_SUB_FIFO0_OVFL                                             (28u)
#define SADC_INT_STA_SUB_FIFO0_OVFL_FIELD_SIZE                                  (1u)
#define SADC_INT_STA_MNT_EVT_CONT_FIELD_OFFSET                                  (24u)
#define SADC_INT_STA_MNT_EVT_CONT_FIELD_SIZE                                    (1u)
#define SADC_INT_STA_MNT_EVT_SINGLE_7_FIELD_OFFSET                              (23u)
#define SADC_INT_STA_MNT_EVT_SINGLE_7_FIELD_SIZE                                (1u)
#define SADC_INT_STA_MNT_EVT_SINGLE_6_FIELD_OFFSET                              (22u)
#define SADC_INT_STA_MNT_EVT_SINGLE_6_FIELD_SIZE                                (1u)
#define SADC_INT_STA_MNT_EVT_SINGLE_5_FIELD_OFFSET                              (21u)
#define SADC_INT_STA_MNT_EVT_SINGLE_5_FIELD_SIZE                                (1u)
#define SADC_INT_STA_MNT_EVT_SINGLE_4_FIELD_OFFSET                              (20u)
#define SADC_INT_STA_MNT_EVT_SINGLE_4_FIELD_SIZE                                (1u)
#define SADC_INT_STA_MNT_EVT_SINGLE_3_FIELD_OFFSET                              (19u)
#define SADC_INT_STA_MNT_EVT_SINGLE_3_FIELD_SIZE                                (1u)
#define SADC_INT_STA_MNT_EVT_SINGLE_2_FIELD_OFFSET                              (18u)
#define SADC_INT_STA_MNT_EVT_SINGLE_2_FIELD_SIZE                                (1u)
#define SADC_INT_STA_MNT_EVT_SINGLE_1_FIELD_OFFSET                              (17u)
#define SADC_INT_STA_MNT_EVT_SINGLE_1_FIELD_SIZE                                (1u)
#define SADC_INT_STA_MNT_EVT_SINGLE_0_FIELD_OFFSET                              (16u)
#define SADC_INT_STA_MNT_EVT_SINGLE_0_FIELD_SIZE                                (1u)
#define SADC_INT_STA_TS_OVF_FIELD_OFFSET                                        (12u)
#define SADC_INT_STA_TS_OVF_FIELD_SIZE                                          (1u)
#define SADC_INT_STA_SUB_FIFO_ALL                                               (0x0F00u)
#define SADC_INT_STA_SUB_FIFO_WML_OFFSET(id)                                    (8u + (id))
#define SADC_INT_STA_WATER_MARK_SUB_3_FIELD_OFFSET                              (11u)
#define SADC_INT_STA_WATER_MARK_SUB_3_FIELD_SIZE                                (1u)
#define SADC_INT_STA_WATER_MARK_SUB_2_FIELD_OFFSET                              (10u)
#define SADC_INT_STA_WATER_MARK_SUB_2_FIELD_SIZE                                (1u)
#define SADC_INT_STA_WATER_MARK_SUB_1_FIELD_OFFSET                              (9u)
#define SADC_INT_STA_WATER_MARK_SUB_1_FIELD_SIZE                                (1u)
#define SADC_INT_STA_WATER_MARK_SUB_0_FIELD_OFFSET                              (8u)
#define SADC_INT_STA_WATER_MARK_SUB_0_FIELD_SIZE                                (1u)
#define SADC_INT_STA_END_COV_RCHT_FIELD_OFFSET                                  (4u)
#define SADC_INT_STA_END_COV_RCHT_FIELD_SIZE                                    (1u)
#define SADC_INT_STA_END_COV_RC0_FIELD_OFFSET                                   (3u)
#define SADC_INT_STA_END_COV_RC0_FIELD_SIZE                                     (1u)
#define SADC_INT_STA_END_COV_RC1_FIELD_OFFSET                                   (2u)
#define SADC_INT_STA_END_COV_RC1_FIELD_SIZE                                     (1u)
#define SADC_INT_STA_END_COV_RC2_FIELD_OFFSET                                   (1u)
#define SADC_INT_STA_END_COV_RC2_FIELD_SIZE                                     (1u)
#define SADC_INT_STA_END_COV_RC3_FIELD_OFFSET                                   (0u)
#define SADC_INT_STA_END_COV_RC3_FIELD_SIZE                                     (1u)

#define SADC_INT_STA_EN_BASE                                                    (0xB4u)
#define SADC_INT_STA_EN_MNT_EVT_CONT_FIELD_OFFSET                               (24u)
#define SADC_INT_STA_EN_MNT_EVT_CONT_FIELD_SIZE                                 (1u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_7_FIELD_OFFSET                           (23u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_7_FIELD_SIZE                             (1u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_6_FIELD_OFFSET                           (22u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_6_FIELD_SIZE                             (1u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_5_FIELD_OFFSET                           (21u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_5_FIELD_SIZE                             (1u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_4_FIELD_OFFSET                           (20u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_4_FIELD_SIZE                             (1u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_3_FIELD_OFFSET                           (19u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_3_FIELD_SIZE                             (1u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_2_FIELD_OFFSET                           (18u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_2_FIELD_SIZE                             (1u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_1_FIELD_OFFSET                           (17u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_1_FIELD_SIZE                             (1u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_0_FIELD_OFFSET                           (16u)
#define SADC_INT_STA_EN_MNT_EVT_SINGLE_0_FIELD_SIZE                             (1u)
#define SADC_INT_STA_EN_TS_OVF_FIELD_OFFSET                                     (12u)
#define SADC_INT_STA_EN_TS_OVF_FIELD_SIZE                                       (1u)
#define SADC_INT_STA_EN_SUB_FIFO_ALL                                            (0x0F00u)
#define SADC_INT_STA_EN_SUB_FIFO_WML_OFFSET(id)                                 (8u + (id))
#define SADC_INT_STA_EN_SUB_FIFO_SINGLE_FIELD_SIZE                              (1u)
#define SADC_INT_STA_EN_WATER_MARK_SUB_3_FIELD_OFFSET                           (11u)
#define SADC_INT_STA_EN_WATER_MARK_SUB_3_FIELD_SIZE                             (1u)
#define SADC_INT_STA_EN_WATER_MARK_SUB_2_FIELD_OFFSET                           (10u)
#define SADC_INT_STA_EN_WATER_MARK_SUB_2_FIELD_SIZE                             (1u)
#define SADC_INT_STA_EN_WATER_MARK_SUB_1_FIELD_OFFSET                           (9u)
#define SADC_INT_STA_EN_WATER_MARK_SUB_1_FIELD_SIZE                             (1u)
#define SADC_INT_STA_EN_WATER_MARK_SUB_0_FIELD_OFFSET                           (8u)
#define SADC_INT_STA_EN_WATER_MARK_SUB_0_FIELD_SIZE                             (1u)
#define SADC_INT_STA_EN_END_COV_RCHT_FIELD_OFFSET                               (4u)
#define SADC_INT_STA_EN_END_COV_RCHT_FIELD_SIZE                                 (1u)
#define SADC_INT_STA_EN_END_COV_RC0_FIELD_OFFSET                                (3u)
#define SADC_INT_STA_EN_END_COV_RC0_FIELD_SIZE                                  (1u)
#define SADC_INT_STA_EN_END_COV_RC1_FIELD_OFFSET                                (2u)
#define SADC_INT_STA_EN_END_COV_RC1_FIELD_SIZE                                  (1u)
#define SADC_INT_STA_EN_END_COV_RC2_FIELD_OFFSET                                (1u)
#define SADC_INT_STA_EN_END_COV_RC2_FIELD_SIZE                                  (1u)
#define SADC_INT_STA_EN_END_COV_RC3_FIELD_OFFSET                                (0u)
#define SADC_INT_STA_EN_END_COV_RC3_FIELD_SIZE                                  (1u)

#define SADC_INT_SIG_EN_BASE                                                    (0xB8u)
#define SADC_INT_SIG_EN_MNT_EVT_CONT_FIELD_OFFSET                               (24u)
#define SADC_INT_SIG_EN_MNT_EVT_CONT_FIELD_SIZE                                 (1u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_7_FIELD_OFFSET                           (23u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_7_FIELD_SIZE                             (1u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_6_FIELD_OFFSET                           (22u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_6_FIELD_SIZE                             (1u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_5_FIELD_OFFSET                           (21u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_5_FIELD_SIZE                             (1u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_4_FIELD_OFFSET                           (20u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_4_FIELD_SIZE                             (1u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_3_FIELD_OFFSET                           (19u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_3_FIELD_SIZE                             (1u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_2_FIELD_OFFSET                           (18u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_2_FIELD_SIZE                             (1u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_1_FIELD_OFFSET                           (17u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_1_FIELD_SIZE                             (1u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_0_FIELD_OFFSET                           (16u)
#define SADC_INT_SIG_EN_MNT_EVT_SINGLE_0_FIELD_SIZE                             (1u)
#define SADC_INT_SIG_EN_TS_OVF_FIELD_OFFSET                                     (12u)
#define SADC_INT_SIG_EN_TS_OVF_FIELD_SIZE                                       (1u)
#define SADC_INT_SIG_EN_SUB_FIFO_ALL                                            (0x0F00u)
#define SADC_INT_SIG_EN_SUB_FIFO_WML_OFFSET(id)                                 (8u + (id))
#define SADC_INT_SIG_EN_SUB_FIFO_SINGLE_FIELD_SIZE                              (1u)
#define SADC_INT_SIG_EN_WATER_MARK_SUB_3_FIELD_OFFSET                           (11u)
#define SADC_INT_SIG_EN_WATER_MARK_SUB_3_FIELD_SIZE                             (1u)
#define SADC_INT_SIG_EN_WATER_MARK_SUB_2_FIELD_OFFSET                           (10u)
#define SADC_INT_SIG_EN_WATER_MARK_SUB_2_FIELD_SIZE                             (1u)
#define SADC_INT_SIG_EN_WATER_MARK_SUB_1_FIELD_OFFSET                           (9u)
#define SADC_INT_SIG_EN_WATER_MARK_SUB_1_FIELD_SIZE                             (1u)
#define SADC_INT_SIG_EN_WATER_MARK_SUB_0_FIELD_OFFSET                           (8u)
#define SADC_INT_SIG_EN_WATER_MARK_SUB_0_FIELD_SIZE                             (1u)
#define SADC_INT_SIG_EN_END_COV_RCHT_FIELD_OFFSET                               (4u)
#define SADC_INT_SIG_EN_END_COV_RCHT_FIELD_SIZE                                 (1u)
#define SADC_INT_SIG_EN_END_COV_RC0_FIELD_OFFSET                                (3u)
#define SADC_INT_SIG_EN_END_COV_RC0_FIELD_SIZE                                  (1u)
#define SADC_INT_SIG_EN_END_COV_RC1_FIELD_OFFSET                                (2u)
#define SADC_INT_SIG_EN_END_COV_RC1_FIELD_SIZE                                  (1u)
#define SADC_INT_SIG_EN_END_COV_RC2_FIELD_OFFSET                                (1u)
#define SADC_INT_SIG_EN_END_COV_RC2_FIELD_SIZE                                  (1u)
#define SADC_INT_SIG_EN_END_COV_RC3_FIELD_OFFSET                                (0u)
#define SADC_INT_SIG_EN_END_COV_RC3_FIELD_SIZE                                  (1u)


#define SADC_COR_ERR_INT_STA_BASE                                               (0xc0u)
#define SADC_COR_ERR_INT_STA_ALL                                                (0xf1ff0000u)
#define SADC_COR_ERR_INT_STA_SUB3_OVF_FIELD_OFFSET                              (31u)
#define SADC_COR_ERR_INT_STA_SUB3_OVF_FIELD_SIZE                                (1u)
#define SADC_COR_ERR_INT_STA_SUB2_OVF_FIELD_OFFSET                              (30u)
#define SADC_COR_ERR_INT_STA_SUB2_OVF_FIELD_SIZE                                (1u)
#define SADC_COR_ERR_INT_STA_SUB1_OVF_FIELD_OFFSET                              (29u)
#define SADC_COR_ERR_INT_STA_SUB1_OVF_FIELD_SIZE                                (1u)
#define SADC_COR_ERR_INT_STA_SUB0_OVF_FIELD_OFFSET                              (28u)
#define SADC_COR_ERR_INT_STA_SUB0_OVF_FIELD_SIZE                                (1u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_CONT_FIELD_OFFSET                          (24u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_CONT_FIELD_SIZE                            (1u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_7_FIELD_OFFSET                      (23u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_7_FIELD_SIZE                        (1u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_6_FIELD_OFFSET                      (22u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_6_FIELD_SIZE                        (1u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_5_FIELD_OFFSET                      (21u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_5_FIELD_SIZE                        (1u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_4_FIELD_OFFSET                      (20u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_4_FIELD_SIZE                        (1u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_3_FIELD_OFFSET                      (19u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_3_FIELD_SIZE                        (1u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_2_FIELD_OFFSET                      (18u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_2_FIELD_SIZE                        (1u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_1_FIELD_OFFSET                      (17u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_1_FIELD_SIZE                        (1u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_0_FIELD_OFFSET                      (16u)
#define SADC_COR_ERR_INT_STA_MNT_EVT_SINGLE_0_FIELD_SIZE                        (1u)

#define SADC_COR_ERR_INT_STA_EN_BASE                                            (0xc4u)
#define SADC_COR_ERR_INT_STA_EN_ALL                                             (0xf1ff0000u)
#define SADC_COR_ERR_INT_STA_EN_SUB3_OVF_FIELD_OFFSET                           (31u)
#define SADC_COR_ERR_INT_STA_EN_SUB3_OVF_FIELD_SIZE                             (1u)
#define SADC_COR_ERR_INT_STA_EN_SUB2_OVF_FIELD_OFFSET                           (30u)
#define SADC_COR_ERR_INT_STA_EN_SUB2_OVF_FIELD_SIZE                             (1u)
#define SADC_COR_ERR_INT_STA_EN_SUB1_OVF_FIELD_OFFSET                           (29u)
#define SADC_COR_ERR_INT_STA_EN_SUB1_OVF_FIELD_SIZE                             (1u)
#define SADC_COR_ERR_INT_STA_EN_SUB0_OVF_FIELD_OFFSET                           (28u)
#define SADC_COR_ERR_INT_STA_EN_SUB0_OVF_FIELD_SIZE                             (1u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_CONT_FIELD_OFFSET                       (24u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_CONT_FIELD_SIZE                         (1u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_7_FIELD_OFFSET                   (23u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_7_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_6_FIELD_OFFSET                   (22u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_6_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_5_FIELD_OFFSET                   (21u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_5_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_4_FIELD_OFFSET                   (20u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_4_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_3_FIELD_OFFSET                   (19u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_3_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_2_FIELD_OFFSET                   (18u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_2_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_1_FIELD_OFFSET                   (17u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_1_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_0_FIELD_OFFSET                   (16u)
#define SADC_COR_ERR_INT_STA_EN_MNT_EVT_SINGLE_0_FIELD_SIZE                     (1u)

#define SADC_COR_ERR_INT_SIG_EN_BASE                                            (0xc8u)
#define SADC_COR_ERR_INT_SIG_EN_ALL                                             (0xf1ff0000u)
#define SADC_COR_ERR_INT_SIG_EN_SUB3_OVF_FIELD_OFFSET                           (31u)
#define SADC_COR_ERR_INT_SIG_EN_SUB3_OVF_FIELD_SIZE                             (1u)
#define SADC_COR_ERR_INT_SIG_EN_SUB2_OVF_FIELD_OFFSET                           (30u)
#define SADC_COR_ERR_INT_SIG_EN_SUB2_OVF_FIELD_SIZE                             (1u)
#define SADC_COR_ERR_INT_SIG_EN_SUB1_OVF_FIELD_OFFSET                           (29u)
#define SADC_COR_ERR_INT_SIG_EN_SUB1_OVF_FIELD_SIZE                             (1u)
#define SADC_COR_ERR_INT_SIG_EN_SUB0_OVF_FIELD_OFFSET                           (28u)
#define SADC_COR_ERR_INT_SIG_EN_SUB0_OVF_FIELD_SIZE                             (1u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_CONT_FIELD_OFFSET                       (24u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_CONT_FIELD_SIZE                         (1u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_7_FIELD_OFFSET                   (23u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_7_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_6_FIELD_OFFSET                   (22u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_6_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_5_FIELD_OFFSET                   (21u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_5_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_4_FIELD_OFFSET                   (20u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_4_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_3_FIELD_OFFSET                   (19u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_3_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_2_FIELD_OFFSET                   (18u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_2_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_1_FIELD_OFFSET                   (17u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_1_FIELD_SIZE                     (1u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_0_FIELD_OFFSET                   (16u)
#define SADC_COR_ERR_INT_SIG_EN_MNT_EVT_SINGLE_0_FIELD_SIZE                     (1u)

#define SADC_UNC_ERR_INT_STA_BASE                                               (0xD0u)
#define SADC_UNC_ERR_INT_STA_ALL                                                (0xf1ff0001u)
#define SADC_UNC_ERR_INT_STA_SUB3_OVF_FIELD_OFFSET                              (31u)
#define SADC_UNC_ERR_INT_STA_SUB3_OVF_FIELD_SIZE                                (1u)
#define SADC_UNC_ERR_INT_STA_SUB2_OVF_FIELD_OFFSET                              (30u)
#define SADC_UNC_ERR_INT_STA_SUB2_OVF_FIELD_SIZE                                (1u)
#define SADC_UNC_ERR_INT_STA_SUB1_OVF_FIELD_OFFSET                              (29u)
#define SADC_UNC_ERR_INT_STA_SUB1_OVF_FIELD_SIZE                                (1u)
#define SADC_UNC_ERR_INT_STA_SUB0_OVF_FIELD_OFFSET                              (28u)
#define SADC_UNC_ERR_INT_STA_SUB0_OVF_FIELD_SIZE                                (1u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_CONT_FIELD_OFFSET                          (24u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_CONT_FIELD_SIZE                            (1u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_7_FIELD_OFFSET                      (23u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_7_FIELD_SIZE                        (1u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_6_FIELD_OFFSET                      (22u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_6_FIELD_SIZE                        (1u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_5_FIELD_OFFSET                      (21u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_5_FIELD_SIZE                        (1u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_4_FIELD_OFFSET                      (20u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_4_FIELD_SIZE                        (1u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_3_FIELD_OFFSET                      (19u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_3_FIELD_SIZE                        (1u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_2_FIELD_OFFSET                      (18u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_2_FIELD_SIZE                        (1u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_1_FIELD_OFFSET                      (17u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_1_FIELD_SIZE                        (1u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_0_FIELD_OFFSET                      (16u)
#define SADC_UNC_ERR_INT_STA_MNT_EVT_SINGLE_0_FIELD_SIZE                        (1u)
#define SADC_UNC_ERR_INT_STA_ANA_EXT_MUX_ERR_FIELD_OFFSET                       (0u)
#define SADC_UNC_ERR_INT_STA_ANA_EXT_MUX_ERR_FIELD_SIZE                         (1u)

#define SADC_UNC_ERR_INT_STA_EN_BASE                                            (0xd4u)
#define SADC_UNC_ERR_INT_STA_EN_ALL                                             (0xf1ff0001u)
#define SADC_UNC_ERR_INT_STA_EN_SUB3_OVF_FIELD_OFFSET                           (31u)
#define SADC_UNC_ERR_INT_STA_EN_SUB3_OVF_FIELD_SIZE                             (1u)
#define SADC_UNC_ERR_INT_STA_EN_SUB2_OVF_FIELD_OFFSET                           (30u)
#define SADC_UNC_ERR_INT_STA_EN_SUB2_OVF_FIELD_SIZE                             (1u)
#define SADC_UNC_ERR_INT_STA_EN_SUB1_OVF_FIELD_OFFSET                           (29u)
#define SADC_UNC_ERR_INT_STA_EN_SUB1_OVF_FIELD_SIZE                             (1u)
#define SADC_UNC_ERR_INT_STA_EN_SUB0_OVF_FIELD_OFFSET                           (28u)
#define SADC_UNC_ERR_INT_STA_EN_SUB0_OVF_FIELD_SIZE                             (1u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_CONT_FIELD_OFFSET                       (24u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_CONT_FIELD_SIZE                         (1u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_7_FIELD_OFFSET                   (23u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_7_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_6_FIELD_OFFSET                   (22u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_6_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_5_FIELD_OFFSET                   (21u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_5_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_4_FIELD_OFFSET                   (20u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_4_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_3_FIELD_OFFSET                   (19u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_3_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_2_FIELD_OFFSET                   (18u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_2_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_1_FIELD_OFFSET                   (17u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_1_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_0_FIELD_OFFSET                   (16u)
#define SADC_UNC_ERR_INT_STA_EN_MNT_EVT_SINGLE_0_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_STA_EN_ANA_EXT_MUX_ERR_FIELD_OFFSET                    (0u)
#define SADC_UNC_ERR_INT_STA_EN_ANA_EXT_MUX_ERR_FIELD_SIZE                      (1u)

#define SADC_UNC_ERR_INT_SIG_EN_BASE                                            (0xd8u)
#define SADC_UNC_ERR_INT_SIG_EN_ALL                                             (0xf1ff0001u)
#define SADC_UNC_ERR_INT_SIG_EN_SUB3_OVF_FIELD_OFFSET                           (31u)
#define SADC_UNC_ERR_INT_SIG_EN_SUB3_OVF_FIELD_SIZE                             (1u)
#define SADC_UNC_ERR_INT_SIG_EN_SUB2_OVF_FIELD_OFFSET                           (30u)
#define SADC_UNC_ERR_INT_SIG_EN_SUB2_OVF_FIELD_SIZE                             (1u)
#define SADC_UNC_ERR_INT_SIG_EN_SUB1_OVF_FIELD_OFFSET                           (29u)
#define SADC_UNC_ERR_INT_SIG_EN_SUB1_OVF_FIELD_SIZE                             (1u)
#define SADC_UNC_ERR_INT_SIG_EN_SUB0_OVF_FIELD_OFFSET                           (28u)
#define SADC_UNC_ERR_INT_SIG_EN_SUB0_OVF_FIELD_SIZE                             (1u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_CONT_FIELD_OFFSET                       (24u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_CONT_FIELD_SIZE                         (1u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_7_FIELD_OFFSET                   (23u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_7_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_6_FIELD_OFFSET                   (22u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_6_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_5_FIELD_OFFSET                   (21u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_5_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_4_FIELD_OFFSET                   (20u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_4_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_3_FIELD_OFFSET                   (19u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_3_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_2_FIELD_OFFSET                   (18u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_2_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_1_FIELD_OFFSET                   (17u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_1_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_0_FIELD_OFFSET                   (16u)
#define SADC_UNC_ERR_INT_SIG_EN_MNT_EVT_SINGLE_0_FIELD_SIZE                     (1u)
#define SADC_UNC_ERR_INT_SIG_EN_ANA_EXT_MUX_ERR_FIELD_OFFSET                    (0u)
#define SADC_UNC_ERR_INT_SIG_EN_ANA_EXT_MUX_ERR_FIELD_SIZE                      (1u)


#define SADC_RC_ENTRY_BASE(rc_val, num) (((num) * 4u) + ((rc_val) * 16u * 4u) + 0x100u)
#define SADC_RC_ENTRY_REPEAT_TIMES_FIELD_OFFSET                                 (24u)
#define SADC_RC_ENTRY_REPEAT_TIMES_FIELD_SIZE                                   (4u)
#define SADC_RC_ENTRY_REPEAT_MODE_FIELD_OFFSET                                  (16u)
#define SADC_RC_ENTRY_REPEAT_MODE_FIELD_SIZE                                    (1u)
#define SADC_RC_ENTRY_CSEL_FIELD_OFFSET                                         (12u)
#define SADC_RC_ENTRY_CSEL_FIELD_SIZE                                           (4u)
#define SADC_RC_ENTRY_CHNL_MUXID_FIELD_OFFSET                                   (6u)
#define SADC_RC_ENTRY_CHNL_MUXID_FIELD_SIZE                                     (3u)
#define SADC_RC_ENTRY_CHNL_END_FIELD_OFFSET                                     (3u)
#define SADC_RC_ENTRY_CHNL_END_FIELD_SIZE                                       (1u)
#define SADC_RC_ENTRY_CONTROL_CHNL_FIELD_OFFSET                                 (0u)
#define SADC_RC_ENTRY_CONTROL_CHNL_FIELD_SIZE                                   (3u)
#define SADC_RC_ENTRY_AMSEL_FIELD_OFFSET                                        (0u)
#define SADC_RC_ENTRY_AMSEL_FIELD_SIZE                                          (9u)

#define SADC_SCH_CID_PART_BASE(num)                       ((((num) / 8) * 4u) + 0x200u)
#define SADC_SCH_CID_PART_CID_FIELD_OFFSET(cid_num)             (((cid_num) % 8u) * 4u)
#define SADC_SCH_CID_PART_CID_FIELD_SIZE                                        (3u)

#define SADC_TS_VALUE_BASE                                                      (0x220u)
#define SADC_TS_VALUE_VALUE_FIELD_OFFSET                                        (0u)
#define SADC_TS_VALUE_VALUE_FIELD_SIZE                                          (24u)

#define SADC_SCH_TIMEOUT_BASE                                                   (0x224U)
#define SADC_SCH_TIMEOUT_THRD_FIELD_OFFSET                                      (0u)
#define SADC_SCH_TIMEOUT_THRD_FIELD_SIZE                                        (16u)

#define SADC_SCH_CFG_BASE                                                       (0x230U)
#define SADC_SCH_CFG_TS_RST_FIELD_OFFSET                                        (31u)
#define SADC_SCH_CFG_TS_RST_FIELD_SIZE                                          (1u)
#define SADC_SCH_CFG_TS_VLD_FIELD_OFFSET                                        (30u)
#define SADC_SCH_CFG_TS_VLD_FIELD_SIZE                                          (1u)
#define SADC_SCH_CFG_RST_DONE_FIELD_OFFSET                                      (28u)
#define SADC_SCH_CFG_RST_DONE_FIELD_SIZE                                        (1u)
#define SADC_SCH_CFG_SLOT_RST_FIELD_OFFSET                                      (25u)
#define SADC_SCH_CFG_SLOT_RST_FIELD_SIZE                                        (1u)
#define SADC_SCH_CFG_SLOT_HALT_FIELD_OFFSET                                     (24u)
#define SADC_SCH_CFG_SLOT_HALT_FIELD_SIZE                                       (1u)
#define SADC_SCH_CFG_SLV_DLY_FIELD_OFFSET                                       (16u)
#define SADC_SCH_CFG_SLV_DLY_FIELD_SIZE                                         (8u)
#define SADC_SCH_CFG_ASYNC_STALL_FIELD_OFFSET                                   (12u)
#define SADC_SCH_CFG_ASYNC_STALL_FIELD_SIZE                                     (1u)
#define SADC_SCH_CFG_ROT_EN_FIELD_OFFSET                                        (11u)
#define SADC_SCH_CFG_ROT_EN_FIELD_SIZE                                          (1u)
#define SADC_SCH_CFG_SYNC_MODE_FIELD_OFFSET                                     (10u)
#define SADC_SCH_CFG_SYNC_MODE_FIELD_SIZE                                       (1u)
#define SADC_SCH_CFG_MST_MODE_FIELD_OFFSET                                      (9u)
#define SADC_SCH_CFG_MST_MODE_FIELD_SIZE                                        (1u)
#define SADC_SCH_CFG_SLOT_MODE_FIELD_OFFSET                                     (8u)
#define SADC_SCH_CFG_SLOT_MODE_FIELD_SIZE                                       (1u)
#define SADC_SCH_CFG_SLOT_INTERVAL_FIELD_OFFSET                                 (0u)
#define SADC_SCH_CFG_SLOT_INTERVAL_FIELD_SIZE                                   (8u)

#define SADC_CLK_CTRL_BASE                                                      (0x238u)
#define SADC_CLK_CTRL_REF_LOW_FIELD_OFFSET                                      (12u)
#define SADC_CLK_CTRL_REF_LOW_FIELD_SIZE                                        (4u)
#define SADC_CLK_CTRL_REF_HIGH_FIELD_OFFSET                                     (8u)
#define SADC_CLK_CTRL_REF_HIGH_FIELD_SIZE                                       (4u)
#define SADC_CLK_CTRL_DIV_BYPASS_FIELD_OFFSET                                   (0u)
#define SADC_CLK_CTRL_DIV_BYPASS_FIELD_SIZE                                     (1u)

#define SADC_ANA_REF_PART1_BASE                                                 (0x240u)
#define SADC_ANA_REF_PART1_PDC_BYPASS_CCA_FIELD_OFFSET                          (18u)
#define SADC_ANA_REF_PART1_PDC_BYPASS_CCA_FIELD_SIZE                            (1u)
#define SADC_ANA_REF_PART1_PDC_FIELD_OFFSET                                     (16u)
#define SADC_ANA_REF_PART1_PDC_FIELD_SIZE                                       (16u)
#define SADC_ANA_REF_PART1_PDBIAS_OFFSET                                        (1u)
#define SADC_ANA_REF_PART1_PDBIAS_SIZE                                          (1u)
#define SADC_ANA_REF_PART1_PD_OFFSET                                            (0u)
#define SADC_ANA_REF_PART1_PD_SIZE                                              (1u)

#define SADC_ANA_REF_PART2_BASE                                                 (0x244u)
#define SADC_ANA_REF_PART2_MCN_OFFSET                                           (16u)
#define SADC_ANA_REF_PART2_MCN_SIZE                                             (16u)
#define SADC_ANA_REF_PART2_MCP_OFFSET                                           (0u)
#define SADC_ANA_REF_PART2_MCP_SIZE                                             (16u)

#define SADC_CONT_MODE_BASE                                                     (0x248u)
#define SADC_CONT_MODE_SOC_FIELD_OFFSET                                         (31u)
#define SADC_CONT_MODE_SOC_FIELD_SIZE                                           (1u)
#define SADC_CONT_MODE_AMSEL_FIELD_OFFSET                                       (24u)
#define SADC_CONT_MODE_AMSEL_FIELD_SIZE                                         (7u)
#define SADC_CONT_MODE_SAMCTRL_FIELD_OFFSET                                     (21u)
#define SADC_CONT_MODE_SAMCTRL_FIELD_SIZE                                       (3u)
#define SADC_CONT_MODE_CCT_FIELD_OFFSET                                         (16u)
#define SADC_CONT_MODE_CCT_FIELD_SIZE                                           (5u)
#define SADC_CONT_MODE_CCN_FIELD_OFFSET                                         (12u)
#define SADC_CONT_MODE_CCN_FIELD_SIZE                                           (4u)
#define SADC_CONT_MODE_CCP_FIELD_OFFSET                                         (8u)
#define SADC_CONT_MODE_CCP_FIELD_SIZE                                           (4u)
#define SADC_CONT_MODE_EN_FIELD_OFFSET                                          (7u)
#define SADC_CONT_MODE_EN_FIELD_SIZE                                            (1u)
#define SADC_CONT_MODE_SDSEL_FIELD_OFFSET                                       (6u)
#define SADC_CONT_MODE_SDSEL_FIELD_SIZE                                         (1u)
#define SADC_CONT_MODE_REFSEL_FIELD_OFFSET                                      (5u)
#define SADC_CONT_MODE_REFSEL_FIELD_SIZE                                        (1u)
#define SADC_CONT_MODE_RC_SEL_FIELD_OFFSET                                      (0u)
#define SADC_CONT_MODE_RC_SEL_FIELD_SIZE                                        (5u)

#define SADC_CONT_MODE_1_BASE                                                   (0x24cu)
#define SADC_CONT_MODE_1_AMSEL_FIELD_OFFSET                                     (0)
#define SADC_CONT_MODE_1_AMSEL_FIELD_SIZE                                       (9)

#define SADC_ANA_PARA_BASE(num)                                 (((num) * 4u) + 0x250u)
#define SADC_ANA_PARA_CCT_FIELD_OFFSET                                          (16u)
#define SADC_ANA_PARA_CCT_FIELD_SIZE                                            (5u)
#define SADC_ANA_PARA_CCN_FIELD_OFFSET                                          (12u)
#define SADC_ANA_PARA_CCN_FIELD_SIZE                                            (4u)
#define SADC_ANA_PARA_CCP_FIELD_OFFSET                                          (8u)
#define SADC_ANA_PARA_CCP_FIELD_SIZE                                            (4u)
#define SADC_ANA_PARA_SDSEL_FIELD_OFFSET                                        (5u)
#define SADC_ANA_PARA_SDSEL_FIELD_SIZE                                          (1u)
#define SADC_ANA_PARA_REFSEL_FIELD_OFFSET                                       (4u)
#define SADC_ANA_PARA_REFSEL_FIELD_SIZE                                         (1u)
#define SADC_ANA_PARA_SAMCTRL_FIELD_OFFSET                                      (0u)
#define SADC_ANA_PARA_SAMCTRL_FIELD_SIZE                                        (3u)

#define SADC_MNT_SINGLE_BASE(num)                               (((num) * 4u) + 0x290u)
#define SADC_MNT_MATCH_FIELD_OFFSET                                             (16u)
#define SADC_MNT_MATCH_FIELD_SIZE                                               (13u)
#define SADC_MNT_MASK_FIELD_OFFSET                                              (0u)
#define SADC_MNT_MASK_FIELD_SIZE                                                (13u)

#define SADC_MNT_CONT_BASE                                                      (0x2B0u)
#define SADC_MNT_CONT_MATCH_FIELD_OFFSET                                        (16u)
#define SADC_MNT_CONT_MATCH_FIELD_SIZE                                          (13u)
#define SADC_MNT_CONT_MASK_FIELD_OFFSET                                         (0u)
#define SADC_MNT_CONT_MASK_FIELD_SIZE                                           (13u)

#define SADC_MNT_THRD_SINGLE_BASE(num)                          (((num) * 4u) + 0x2B4u)
#define SADC_MNT_THRD_SINGLE_MODE_FIELD_OFFSET                                  (28u)
#define SADC_MNT_THRD_SINGLE_MODE_FIELD_SIZE                                    (2u)
#define SADC_MNT_THRD_SINGLE_LTHRD_FIELD_OFFSET                                 (16u)
#define SADC_MNT_THRD_SINGLE_LTHRD_FIELD_SIZE                                   (12u)
#define SADC_MNT_THRD_SINGLE_HTHRD_FIELD_OFFSET                                 (0u)
#define SADC_MNT_THRD_SINGLE_HTHRD_FIELD_SIZE                                   (12u)

#define SADC_MNT_THRD_CONT_BASE                                                 (0x2D4u)
#define SADC_MNT_THRD_CONT_MODE_FIELD_OFFSET                                    (28u)
#define SADC_MNT_THRD_CONT_MODE_FIELD_SIZE                                      (2u)
#define SADC_MNT_THRD_CONT_LTHRD_FIELD_OFFSET                                   (16u)
#define SADC_MNT_THRD_CONT_LTHRD_FIELD_SIZE                                     (12u)
#define SADC_MNT_THRD_CONT_HTHRD_FIELD_OFFSET                                   (0u)
#define SADC_MNT_THRD_CONT_HTHRD_FIELD_SIZE                                     (12u)

#define SADC_MNT_CONT_CFG_BASE                                                  (0x2E0u)
#define SADC_MNT_CONT_CFG_CONT_THRD_FIELD_OFFSET                                (16u)
#define SADC_MNT_CONT_CFG_CONT_THRD_FIELD_SIZE                                  (6u)
#define SADC_MNT_CONT_CFG_CONT_MODE_FIELD_OFFSET                                (0u)
#define SADC_MNT_CONT_CFG_CONT_MODE_FIELD_SIZE                                  (1u)

#define SADC_FIFO_CFG_BASE                                                      (0x2E4u)
#define SADC_FIFO_CFG_PACK16_AMSEL_EN_FIELD_OFFSET                              (8u)
#define SADC_FIFO_CFG_PACK16_AMSEL_EN_FIELD_SIZE                                (1u)
#define SADC_FIFO_CFG_BYPASS_FIELD_OFFSET                                       (4u)
#define SADC_FIFO_CFG_BYPASS_FIELD_SIZE                                         (1u)
#define SADC_FIFO_CFG_PACK_MODE_FIELD_OFFSET                                    (0u)
#define SADC_FIFO_CFG_PACK_MODE_FIELD_SIZE                                      (2u)

#define SADC_SUB_FIFO_BASE(num)                                 (((num) * 4u) + 0x2E8u)
#define SADC_SUB_FIFO_FULL_FIELD_OFFSET                                         (25u)
#define SADC_SUB_FIFO_FULL_FIELD_SIZE                                           (1u)
#define SADC_SUB_FIFO_EMPTY_FIELD_OFFSET                                        (24u)
#define SADC_SUB_FIFO_EMPTY_FIELD_SIZE                                          (1u)
#define SADC_SUB_FIFO_SUB_RC_EN_RCHT_FIELD_OFFSET                               (20u)
#define SADC_SUB_FIFO_SUB_RC_EN_RC0_FIELD_OFFSET                                (19u)
#define SADC_SUB_FIFO_SUB_RC_EN_RC1_FIELD_OFFSET                                (18u)
#define SADC_SUB_FIFO_SUB_RC_EN_RC2_FIELD_OFFSET                                (17u)
#define SADC_SUB_FIFO_SUB_RC_EN_RC3_FIELD_OFFSET                                (16u)
#define SADC_SUB_FIFO_SUB_RC_EN_FIELD_OFFSET                                    (16u)
#define SADC_SUB_FIFO_SUB_RC_EN_FIELD_SIZE                                      (5u)
#define SADC_SUB_FIFO_SUB_THRD_FIELD_OFFSET                                     (8u)
#define SADC_SUB_FIFO_SUB_THRD_FIELD_SIZE                                       (7u)
#define SADC_SUB_FIFO_SUB_START_FIELD_OFFSET                                    (0u)
#define SADC_SUB_FIFO_SUB_START_FIELD_SIZE                                      (7u)
#define SADC_SUB_FIFO_SUB_START(id)                                             (32u * (id))

#define SADC_DMA_BASE                                                           (0x2f8u)
#define SADC_DMA_CHN1_EACH_RCHT_RC_FIELD_SIEZ                                   (1u)
#define SADC_DMA_CHN0_EACH_RCHT_RC_FIELD_SIEZ                                   (1u)
#define SADC_DMA_EACH_RHCT_RC_CONVERSION_DONE_FIELD_SIZE                        (1u)
#define SADC_DMA_CHN1_RCHT_ENABLE_FIELD_OFFSET                                  (20u)
#define SADC_DMA_CHN1_RCHT_ENABLE_FIELD_SIZE                                    (1u)
#define SADC_DMA_CHN1_RC0_ENABLE_FIELD_OFFSET                                   (19u)
#define SADC_DMA_CHN1_RC0_ENABLE_FIELD_SIZE                                     (1u)
#define SADC_DMA_CHN1_RC1_ENABLE_FIELD_OFFSET                                   (18u)
#define SADC_DMA_CHN1_RC1_ENABLE_FIELD_SIZE                                     (1u)
#define SADC_DMA_CHN1_RC2_ENABLE_FIELD_OFFSET                                   (17u)
#define SADC_DMA_CHN1_RC2_ENABLE_FIELD_SIZE                                     (1u)
#define SADC_DMA_CHN1_RC3_ENABLE_FIELD_OFFSET                                   (16u)
#define SADC_DMA_CHN1_RC3_ENABLE_FIELD_SIZE                                     (1u)
#define SADC_DMA_CHN1_EN_FIELD_OFFSET                                           (16u)
#define SADC_DMA_CHN1_EN_FIELD_SIZE                                             (5u)
#define SADC_DMA_CHN0_RCHT_ENABLE_FIELD_OFFSET                                  (12u)
#define SADC_DMA_CHN0_RCHT_ENABLE_FIELD_SIZE                                    (1u)
#define SADC_DMA_CHN0_RC0_ENABLE_FIELD_OFFSET                                   (11u)
#define SADC_DMA_CHN0_RC0_ENABLE_FIELD_SIZE                                     (1u)
#define SADC_DMA_CHN0_RC1_ENABLE_FIELD_OFFSET                                   (10u)
#define SADC_DMA_CHN0_RC1_ENABLE_FIELD_SIZE                                     (1u)
#define SADC_DMA_CHN0_RC2_ENABLE_FIELD_OFFSET                                   (9u)
#define SADC_DMA_CHN0_RC2_ENABLE_FIELD_SIZE                                     (1u)
#define SADC_DMA_CHN0_RC3_ENABLE_FIELD_OFFSET                                   (8u)
#define SADC_DMA_CHN0_RC3_ENABLE_FIELD_SIZE                                     (1u)
#define SADC_DMA_CHN0_EN_FIELD_OFFSET                                           (8u)
#define SADC_DMA_CHN0_EN_FIELD_SIZE                                             (5u)
#define SADC_DMA_RCHT_CONVERSION_DONE_FIELD_OFFSET                              (4u)
#define SADC_DMA_RCHT_CONVERSION_DONE_FIELD_SIZE                                (1u)
#define SADC_DMA_RC0_CONVERSION_DONE_FIELD_OFFSET                               (3u)
#define SADC_DMA_RC0_CONVERSION_DONE_FIELD_SIZE                                 (1u)
#define SADC_DMA_RC1_CONVERSION_DONE_FIELD_OFFSET                               (2u)
#define SADC_DMA_RC1_CONVERSION_DONE_FIELD_SIZE                                 (1u)
#define SADC_DMA_RC2_CONVERSION_DONE_FIELD_OFFSET                               (1u)
#define SADC_DMA_RC2_CONVERSION_DONE_FIELD_SIZE                                 (1u)
#define SADC_DMA_RC3_CONVERSION_DONE_FIELD_OFFSET                               (0u)
#define SADC_DMA_RC3_CONVERSION_DONE_FIELD_SIZE                                 (1u)
#define SADC_DMA_MODE_FIELD_OFFSET                                              (0u)
#define SADC_DMA_MODE_FIELD_SIZE                                                (5u)

#define SADC_SUB_FIFO_DATA_BASE(num)                         (((num) * 0x40U) + 0x300U)

#define SADC_FUSA_UNCOR_ERR_INT_STAT                                            (0x420U)

#define SADC_FUSA_UNCOR_ERR_INT_STAT_EN                                         (0x424U)
#define SADC_STA_EN_RDATA_UNC_ERR_FIELD_OFFSET                                  (13u)
#define SADC_STA_EN_RDATA_UNC_ERR_FIELD_SIZE                                    (2u)
#define SADC_STA_EN_DMA_EOBC_UNC_ERR_FIELD_OFFSET                               (11u)
#define SADC_STA_EN_DMA_EOBC_UNC_ERR_FIELD_SIZE                                 (2u)

#define SADC_FUSA_UNCOR_ERR_INT_SIG_EN                                          (0x428U)
#define SADC_SIG_EN_RDATA_UNC_ERR_FIELD_OFFSET                                  (13u)
#define SADC_SIG_EN_RDATA_UNC_ERR_FIELD_SIZE                                    (2u)
#define SADC_SIG_EN_DMA_EOBC_UNC_ERR_FIELD_OFFSET                               (11u)
#define SADC_SIG_EN_DMA_EOBC_UNC_ERR_FIELD_SIZE                                 (2u)

#define SADC_CONV_LOW_BASE(num)                               (((num) * 0x8U) + 0x460u)

#define SADC_CONV_RCHT_LOW_BASE                                                 (0x460u)
#define SADC_CONV_RCHT_HIGH_BASE                                                (0x464u)

#define SADC_CONV_RC0_LOW_BASE                                                  (0x468u)
#define SADC_CONV_RC0_HIGH_BASE                                                 (0x46Cu)

#define SADC_CONV_RC1_LOW_BASE                                                  (0x470u)
#define SADC_CONV_RC1_HIGH_BASE                                                 (0x474u)

#define SADC_CONV_RC2_LOW_BASE                                                  (0x478u)
#define SADC_CONV_RC2_HIGH_BASE                                                 (0x47Cu)

#define SADC_CONV_RC3_LOW_BASE                                                  (0x480u)
#define SADC_CONV_RC3_HIGH_BASE                                                 (0x484u)

#define SADC_DBG_REG_0_BASE                                                     (0x494u)
#define SADC_DBG_REG_1_BASE                                                     (0x498u)
#define SADC_DBG_REG_2_BASE                                                     (0x49cu)
#define SADC_DBG_REG_3_BASE                                                     (0x4a0u)
#define SADC_DBG_REG_4_BASE                                                     (0x4a4u)
#define SADC_DBG_REG_5_BASE                                                     (0x4a8u)
#define SADC_DBG_REG_6_BASE                                                     (0x4acu)
#define SADC_DBG_REG_7_BASE                                                     (0x4b0u)
#define SADC_DBG_REG_8_BASE                                                     (0x4b4u)
#define SADC_DBG_REG_9_BASE                                                     (0x4b8u)

#define SADC_ANA_BUF_CTRL_BASE(num)                             (((num) * 4u) + 0x620u)
#define SADC_ANA_BUF_CTRL_BITS_FIELD_OFFSET                                     (0u)
#define SADC_ANA_BUF_CTRL_BITS_FIELD_SIZE                                       (16u)
#define SADC_ANA_BUF_CTRL_3V3_SINGLE_END_VALUE                                  (0x9202u)
#define SADC_ANA_BUF_CTRL_3V3_DIFF_END_VALUE                                    (0x9203u)
#define SADC_ANA_BUF_CTRL_5V_SINGLE_END_VALUE                                   (0x9042u)
#define SADC_ANA_BUF_CTRL_5V_DIFF_END_VALUE                                     (0x90C3u)

#define SADC_ANA_TIRM_CTRL_BASE                                                 (0x5000u)
#define SADC_ANA_TIRM_VREF_OFFSET                                               (0u)
#define SADC_ANA_TIRM_VREF_BITS_FIELD_SIZE                                      (6u)
#define SADC_ANA_TC_VAL_OFFSET                                                  (24u)
#define SADC_ANA_TC_VAL_BITS_FIELD_SIZE                                         (4u)
#define SADC_ANA_TIRM_EN_OFFSET                                                 (31u)
#define SADC_ANA_TIRM_EN_BITS_FIELD_SIZE                                        (1u)

#define SADC_ANA_APDA_CTRL_SF_BASE(num)                         (((num) * 4u) + 0x3000u)
#define SADC_ANA_APDA_VAL_OFFSET                                                (0u)
#define SADC_ANA_APDA_VAL_BITS_FIELD_SIZE                                       (4u)
#define SADC_ANA_APDA_SF_VALUE                                                  (0x1u)


#define SADC_ANA_APDA_CTRL_LP_BASE(num)                         (((num) * 4u) + 0x1048u)
#define SADC_ANA_APDA_CTRL1_LP_BASE(num)                                        (0xF07C104CUL)
#define SADC_ANA_APDA_CTRL2_LP_BASE(num)                                        (0xF07C1050UL)
#define SADC_ANA_APDA_CTRL3_LP_BASE(num)                                        (0xF07C1054UL)
#define SADC_ANA_APDA_LP_VALUE                                                  (0x11111111UL)

#define SADC_ANA_ADC_SYNC_BASE                                                  (0x7000u)
#define SADC_ANA_ADC_SYNC_EN_OFFSET                                             (0u)
#define SADC_ANA_ADC_SYNC_EN_FIELD_SIZE                                         (1u)
#define SADC_ANA_ADC_SYNC_SEL_CFG_OFFSET                                        (1u)
#define SADC_ANA_ADC_SYNC_SEL_CFG_FIELD_SIZE                                    (6u)
#define SADC_ANA_ADC_SYNC_SEL(idx)                                              ((idx) + 1u)




#ifdef __cplusplus
}
#endif
#endif /* ADC_REG_H */
/* End of file */
